/// msg : "所有商家员工"
/// code : 0
/// data : [{"employeeId":"8f1769c3ed59461bba49e328cde3e2a3","employeeName":"小甜橘","employeeNum":0},{"employeeId":"e8b44ee6a0844ebfaace32e3b7a5a7ad","employeeName":"年年","employeeNum":0}]

class MemberListEntity {
  MemberListEntity({
    this.msg,
    this.code,
    this.data,
  });

  MemberListEntity.fromJson(dynamic json) {
    msg = json['msg'];
    code = json['code'];
    if (json['data'] != null) {
      data = [];
      json['data'].forEach((v) {
        data?.add(MemberInfo.fromJson(v));
      });
    }
  }

  String? msg;
  int? code;
  List<MemberInfo>? data;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['msg'] = msg;
    map['code'] = code;
    if (data != null) {
      map['data'] = data?.map((v) => v.toJson()).toList();
    }
    return map;
  }
}

class MemberInfo {
  MemberInfo({
    this.employeeId,
    this.employeeName,
    this.employeeNum,
  });

  MemberInfo.fromJson(dynamic json) {
    employeeId = json['employeeId'];
    employeeName = json['employeeName'];
    employeeNum = json['employeeNum'];
  }

  String? employeeId;
  String? employeeName;
  int? employeeNum;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['employeeId'] = employeeId;
    map['employeeName'] = employeeName;
    map['employeeNum'] = employeeNum;
    return map;
  }
}
